package com.palace.saw.module.app.controller.admin.banner.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - Banner 广告位 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BannerRespVO {

    @Schema(description = "Banner 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20494")
    @ExcelProperty("Banner 编号")
    private Long id;

    @Schema(description = "Banner 标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("Banner 标题")
    private String title;

    @Schema(description = "图片 URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("图片 URL")
    private String picUrl;

    @Schema(description = "跳转地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("跳转地址")
    private String url;

    @Schema(description = "活动状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("活动状态")
    private Integer status;

    @Schema(description = "排序")
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "位置", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("位置")
    private Integer position;

    @Schema(description = "描述", example = "你说的对")
    @ExcelProperty("描述")
    private String memo;

    @Schema(description = "Banner 点击次数", example = "5285")
    @ExcelProperty("Banner 点击次数")
    private Integer browseCount;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}